package com.sky.enums;

import com.sky.service.Test_1_6_Service;

public enum test_1_6 implements Test_1_6_Service {
    INTEGER(1),
    DOUBLE(2),
    STRING(4),
    LONG(3);

    private int i = 0;
    test_1_6(int i) {
        this.i = i;
    }
    public int value() {

        return i;
    }

    @Override
    public Object test_1_6_1() {
        switch (i) {
            case 1:
                return 1;
            case 2:
                return 0D;
            case 3:
                return 1L;
            case 4:
                return "你好!";
        }
        return null;
    }
}
